/**
 * 自动生成！请勿修改！
 */
import { command } from '../core/command';

class Dishwasher {
    constructor(opt = {}) {
        const { device, to, ...opts } = opt;

        this.device = device || {};
        this.opts = opts || {};
        this._to = to;
    }

    get categoryCode() {
        return '010050003';
    }

    get categoryName() {
        return '\u6d17\u7897\u673a';
    }

    getCurrentTemperature(params) {
        return command({
            method: 'getCurrentTemperature',
            methodId: 'pj7xclZ5',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getDryingSwitch(params) {
        return command({
            method: 'getDryingSwitch',
            methodId: 'p0cr5nnM',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getIntensity(params) {
        return command({
            method: 'getIntensity',
            methodId: 'p3deZDJE',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getMode(params) {
        return command({
            method: 'getMode',
            methodId: 'pkpDAsy9',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getRemainTime(params) {
        return command({
            method: 'getRemainTime',
            methodId: 'pdN7VYsI',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSterilizationSwitch(params) {
        return command({
            method: 'getSterilizationSwitch',
            methodId: 'pNnZJ5wm',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSwitch(params) {
        return command({
            method: 'getSwitch',
            methodId: 'pz93wuXn',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getTemperature(params) {
        return command({
            method: 'getTemperature',
            methodId: 'ptRSxc6z',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWorkStatus(params) {
        return command({
            method: 'getWorkStatus',
            methodId: 'pBTQ0MRK',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWorkTime(params) {
        return command({
            method: 'getWorkTime',
            methodId: 'pXZusKxl',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setDryingSwitch(params) {
        return command({
            method: 'setDryingSwitch',
            methodId: 'pDrhgGko',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setIntensity(params) {
        return command({
            method: 'setIntensity',
            methodId: 'pUPQLLvb',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setMode(params) {
        return command({
            method: 'setMode',
            methodId: 'pGoxpVlk',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setStart(params) {
        return command({
            method: 'setStart',
            methodId: 'pZgRrSCq',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSterilizationSwitch(params) {
        return command({
            method: 'setSterilizationSwitch',
            methodId: 'phEqY8aW',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setStop(params) {
        return command({
            method: 'setStop',
            methodId: 'ppAX3Fcx',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSwitch(params) {
        return command({
            method: 'setSwitch',
            methodId: 'p1vZQ3I1',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setTemperature(params) {
        return command({
            method: 'setTemperature',
            methodId: 'peH3bt0G',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWorkTime(params) {
        return command({
            method: 'setWorkTime',
            methodId: 'pgh0uxVR',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }
}

export default Dishwasher;
